from datetime import datetime

date = input("请输入日期：")

date = datetime.strptime(date,"%Y-%m-%d")

print(date.timetuple().tm_yday)